<?php

use Illuminate\Database\Seeder;
use Illuminate\Support\Facades\File;

class KLineTableSeeder extends Seeder
{
    /**
     * Run the database seeds.
     *
     * @return void
     */
    public function run()
    {
        $filePath = 'json/k-line-05-16.json';
        $data = json_decode(File::get(storage_path($filePath)), true);
        \App\KLine::insert($data);
    }
}
